<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<html>
<head>
    <title>Title</title>
    <%@include file="../../../static/common/common.jsp" %>
    <script src="/static/js/linkman.js"></script>
</head>
<!--非常关键-->
<jsp:include page="/static/style/loader.jsp"></jsp:include>
<body>
<table id="linkman_datagrid"></table>
<div id="linkman_btns">
        <a class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增</a>
        <a class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true" data-cmd="edit">编辑</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true" data-cmd="del">删除</a>
    <input class="easyui-textbox" name="keyword" prompt="姓名/邮箱">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-search',plain:true" data-cmd="query"></a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-redo',plain:true" data-cmd="exportXls"></a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-tip',plain:true" data-cmd="import"></a>
</div>
<div id="save_btns">
    <a class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>
<div id="linkman_dialog">
    <form id="linkman_form" method="post">
        <input id="linkmanId" type="hidden" name="id">
        <table align="center" style="margin-top: 15px" cellspacing="10">

            <tr>
                <td>姓名:</td>
                <td><input class="easyui-textbox" name="name"></td>
            </tr>
            <tr>
                <td>性别:</td>
                <td><input class="easyui-combobox" name="sex"
                           data-options="valueField: 'sex',
		textField: 'value',
		data: [{
		    sex:'1',
			value: '男'
		},{
		    sex:'0',
			value: '女'
		}]">
                </td>
            </tr>
            <tr>
                <td>生日:</td>
                <td><input class="easyui-datetimebox" name="birthday"></td>
            </tr>
                <td>学校:</td>
                <td><input class="easyui-combobox" name="school.id"
                           data-options="url:'/school/selectAll.do',valueField:'id',textField:'school',panelHeight:'auto'"></td>
            </tr>
            <tr>
                <td>所属部门:</td>
                <td><input id="school_combobox" class="easyui-textbox" name="department"></td>
            </tr>
            <tr>
                <td>职务:</td>
                <td><input class="easyui-textbox" name="duty"></td>
            </tr>
            <tr>
                <td>电话:</td>
                <td><input class="easyui-textbox" name="tel"></td>
            </tr>
            <tr>
                <td>qq:</td>
                <td><input class="easyui-textbox" name="qq"></td>
            </tr>
            <tr>
                <td>邮箱:</td>
                <td><input class="easyui-textbox" name="email"></td>
            </tr>
            <tr>
                <td>主联系人:</td>
                <td><input class="easyui-combobox" name="main"
                           data-options="valueField: 'main',
		textField: 'value',
		data: [{
		    main:'1',
			value: '是'
		},{
		    main:'0',
			value: '否'
		}],panelHeight:'auto',limitToList:true">
                </td>
            </tr>
            <tr>
                <td>简介:</td>
                <td><input class="easyui-textbox" data-options="mutiline:true" style="height:60px" name="remark"></td>
            </tr>
        </table>
    </form>
</div>
</body>
</html>
